package com.lnking.lnkingplace.model.dto.outsiders;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableInfo(tableName = "来蓉重点人员排查")
public class OutsidersExportDto {

    @ApiModelProperty(value = "名字")
    @TableColumn(columnName = "名字",column = "0")
    private String name;

    @ApiModelProperty(value = "年龄")
    @TableColumn(columnName = "年龄",column = "1")
    private Integer age;

    @ApiModelProperty(value = "电话")
    @TableColumn(columnName = "电话",column = "2")
    private String phone;

    @ApiModelProperty(value = "是否管控")
    @TableColumn(columnName = "是否管控",column = "3")
    private String control;


    @ApiModelProperty(value = "性别")
    @TableColumn(columnName = "性别",column = "4")
    private String sex;

    @ApiModelProperty(value = "风险等级")
    @TableColumn(columnName = "风险等级",column = "5")
    private String level;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableColumn(columnName = "开始时间",column = "6")
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableColumn(columnName = "结束时间",column = "7")
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "籍贯")
    @TableColumn(columnName = "籍贯",column = "8")
    private String nativePlace;

    @ApiModelProperty(value = "场所Name")
    @TableColumn(columnName = "场所名字",column = "9")
    private String placeName;

    @ApiModelProperty(value = "街道")
    @TableColumn(columnName = "街道",column = "10")
    private String street;
}
